.module
  %h4= @config["title"]
  %ul
    %li
      = form_remote_tag :update => "target_weather",:url => {:controller => "/plugin/weather", :action => :fetch },:loading => "Element.show('busy_weather')",:complete => "Element.hide('busy_weather')" 
      = text_field_tag(:city,"", :size=>15)+"<br/>"
      = radio_button_tag(:measurement, :m,:checked=>true)+" metric"
      = radio_button_tag(:measurement, :f)+" us<br/>"
      = submit_tag "Search"
      = "</form>"
      = image_tag "indicator_arrows.gif",:id=>"busy_weather",:style=>"display:none;"
      #target_weather
